import service from '../utils/request'

export function getCaptcha() {
  return service({
    url: '/captcha',
    method: 'get',
  })
}

// @ts-ignore
export function  login(data){
  return service({
    url: '/user/login',
    method: 'post',
    data
  })
}
